//
//  ViewController.m
//  JenkinsTest
//
//  Created by JunLiang Gan on 2021/10/27.
//

#import "ViewController.h"

#import "AFNetworking.h"
#import "Masonry.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIView *view = UIView.new;
    view.backgroundColor = UIColor.redColor;
    [self.view addSubview:view];
    [view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view);
        make.right.equalTo(self.view);
        make.top.equalTo(self.view);
        make.bottom.equalTo(self.view);
    }];
    
    
    UIView *view1 = [UIView new];
    view1.backgroundColor = UIColor.yellowColor;
    [view addSubview:view1];
    view1.frame = CGRectMake(100, 100, 100, 100);
    
    UILabel *label = UILabel.new;
    label.text = NETWORK_HOST;
    label.backgroundColor = UIColor.greenColor;
    [view addSubview:label];
    label.frame = CGRectMake(16, 200, 300, 50);
    
}


@end
